//
//  ChoicenessViewTwoModel.m
//  HappyNews
//
//  Created by lanou on 16/1/11.
//  Copyright © 2016年 BPWBANP. All rights reserved.
//

#import "ChoicenessViewTwoModel.h"

@implementation ChoicenessViewTwoModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
//    if ([key isEqualToString:@"memberItem"]) {
//        self.guid = value[@"guid"];
//        self.duration = value[@"duration"];
//        self.shareUrl = value[@"shareUrl"];
//        
//    }
    if ([key isEqualToString:@"videoList"]) {
        self.title = value[@"title"];
        self.image = value[@"image"];
        NSDictionary *dic = value[@"memberItem"];
        self.guid = dic[@"guid"];
        self.duration = dic[@"duration"];
        self.shareUrl = dic[@"shareUrl"];
    }
}

@end
